home *** CD-ROM | disk | FTP | other *** search
/ Champak 132 / (Vol 132) Jun 09 2011.iso / Games / sue-potatoes.swf / scripts / DefineSprite_22 / frame_50 / DoAction.as
Encoding:
Text File  |  2011-06-09  |  299 b   |  17 lines

  1. this.onEnterFrame = function()
  2. {
  3.    if(Math.floor(_root.getBytesLoaded() / _root.getBytesTotal() * 100) >= 100)
  4.    {
  5.       _parent.play();
  6.       if(_parent.Signed == "True")
  7.       {
  8.          _root.sign = 1;
  9.       }
  10.    }
  11.    else
  12.    {
  13.       this.stop();
  14.    }
  15. };
  16. trace(_parent.Signed);
  17.